﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMasterPages.master" AutoEventWireup="true" CodeFile="AdminCustomers.aspx.cs" Inherits="Admin_AdminCustomers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <p>
        <br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AutoGenerateSelectButton="True" 
            EnableModelValidation="True" 
            onselectedindexchanged="GridView1_SelectedIndexChanged">
            <Columns>
                <asp:BoundField DataField="CustomerID" HeaderText="ID" />
                <asp:BoundField DataField="UserName" HeaderText="UserName" />
                <asp:BoundField DataField="CustomerName" HeaderText="Customer Name" />
                <asp:BoundField DataField="DoB" HeaderText="Date of Birth" />
                <asp:BoundField DataField="Gender" HeaderText="Gender" />
                <asp:BoundField DataField="Email" HeaderText="Email" />
                <asp:BoundField DataField="PhoneNumber" HeaderText="PhoneNumber" />
                <asp:BoundField DataField="Address" HeaderText="Address" />
            </Columns>
            <EmptyDataTemplate>
                Not found
            </EmptyDataTemplate>
        </asp:GridView>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
        <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
            EnableModelValidation="True" Visible="False">
            <Columns>
                <asp:BoundField DataField="OrderID" HeaderText="ID" />
                <asp:BoundField DataField="OrderTime" HeaderText="Time" />
                <asp:BoundField DataField="ShippingAddress" HeaderText="Address" />
                <asp:BoundField DataField="PaymentDetail" HeaderText="PaymentDetail" />
                <asp:BoundField DataField="TotalPrice" HeaderText="Price" />
                <asp:BoundField DataField="OrderStatus" HeaderText="Status" />
            </Columns>
        </asp:GridView>
    </p>
    <p>
        <asp:Button ID="btnBack" runat="server" onclick="btnBack_Click" Text="Back" 
            Visible="False" />
    </p>
</asp:Content>

